package com.richest.api.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.richest.api.dao.BanquetBusinessMapper;
import com.richest.api.service.IBanquetBusinessService;
import com.richest.bean.BanquetBusinessBean;

/**
 * 企业桌经营信息管理服务实现
 * 
 * @author 杨博
 * @version richest-api 2.0
 */
@Service
public class BanquetBusinessServiceImpl implements IBanquetBusinessService {

	@Autowired
	private BanquetBusinessMapper mapper;

	@Override
	public Integer banquetBusinessAdd(BanquetBusinessBean bean) {
		return mapper.banquetBusinessAdd(bean);
	}

	@Override
	public Integer banquetBusinessUpdate(BanquetBusinessBean bean) {
		return mapper.banquetBusinessUpdate(bean);
	}

	@Override
	public Integer banquetBusinessDelete(Long id) {
		return mapper.banquetBusinessDelete(id);
	}

	@Override
	public BanquetBusinessBean banquetBusinessSelectOne(Long id) {
		return mapper.banquetBusinessSelectOne(id);
	}

	@Override
	public List<Map<String, Object>> banquetBusinessSelectMap(Map<String, Object> params) {
		return mapper.banquetBusinessSelectMap(params);
	}
}
